﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;

namespace GBU.Services.Common
{
    public class LocationEventArgs : EventArgs
    {

        public LocationData LocationData { get; set; }
        public string LocationDataJson {
            get { return JsonConvert.SerializeObject(LocationData); }
            set { LocationData = JsonConvert.DeserializeObject<LocationData>(value); }
        }
    }
}
